<?php

/**
 * home actions.
 *
 * @package    dnevnik
 * @subpackage home
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $
 */
class homeActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
      $query = DbFinder::from('Profil')->with('Roditelj')->join('Roditelj')->leftJoin('Roditelj.Id', 'Ucenik.RoditeljId');
      $profili = $query->find();
      print_r($profili);
  }
}